$(document).ready(function() {
    tb_init("a.restricted");

});

function login(email, pass) {
    var id = false;
    $.ajax({type: "POST",
       url: AJAX_PATH + "verif_login.ajax.php",
       data: "email=" + email + "&password=" + pass,
       async: false,
       success: function(data){
           id = (data != "") ? data : false;
       }
    });
    return id;
}

